package com.hjlh.aimedical.common.request;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class DsRequest implements Serializable {

    private static final long serialVersionUID = 5001973246868990736L;

    private Integer frequency_penalty;

    private Boolean logprobs;

    private Integer max_tokens;

    private List<Messages> messages;


    private String model;

    private Integer presence_penalty;

    private ResponseFormat response_format;


    private Boolean stream;

    private Integer temperature = 0;

    private String tool_choice;

    private Integer top_p;

    private Integer seed = 42;
    /**
     * 停止 ：true 继续 false
     */
    private Boolean stopFlag;

    @Data
    public static class ResponseFormat {

        private String type;
    }

    @Data
    public static class Messages {
        private String content;

        private String role;
    }

}
